
    <div data-options="region:'north',fit:false" style="overflow-y:hidden;">
    	<!-- <div class='northImg' style="height:40px;background:#aac2f2;"> -->
    	<div class='northImg' style="height:56px;">
    		<span style="padding-left:5px;">爱屋及乌</span>
    	</div>
    	<div style="height:25px;background:#f4f4f4;line-height:25px;">
    		<div style="float;left;display: inline;">
    			<!-- <span style="padding-left:5px;">欢迎您：xxx</span> -->
    			<span style="padding-left:10px;" id='time'>今天是：</span>
	    		<script type="text/javascript">
					var d, s = "";
					var x = new Array("星期日", "星期一", "星期二","星期三","星期四", "星期五","星期六");
					d = new Date();
					s+=d.getFullYear()+"年"+(d.getMonth() + 1)+"月"+d.getDate()+"日 ";
					s+=x[d.getDay()];
					$("#time").append(s);
	    		</script>
    		</div>
    		<div style="float:right;display: inline;">
    			<!-- <span style="padding-right:5px;cursor:pointer;">修改密码</span> -->
    			<span style="padding-right:5px;cursor:pointer;" id='fav'>收藏本站</span>
    			<script type="text/javascript">
					function AddFavorite(sURL, sTitle){
					    try{
					        window.external.addFavorite(sURL, sTitle);
					    }
					    catch (e)
						{
					        try
					        {
					            window.sidebar.addPanel(sTitle, sURL, "");
					        }
					        catch (e)
					        {
					            alert("请使用Ctrl+D将本页加入收藏夹！");
					        }
					    }
					}
					window.onload = function(){
						var addFav = document.getElementById("fav");
						addFav.onclick = function(){
							AddFavorite(window.location,document.title);
						}
					}
    			</script>
    			<span style="padding-right:5px;"><a style="" href="javascript:void(0);">退出系统</a></span>
    		</div>
    	</div>
    </div>   
    
    <div data-options="region:'center'">   
        <div class="easyui-layout" data-options="fit:true">
            <div id="west" data-options="region:'west',title:'菜单',split:false" style="width:180px">
				<div style="background:#aaa;" id="nav" class="easyui-accordion" data-options="fit:true,border:false,animate:true">

					<div title='业务管理' data-options='selected:false' style='padding:0px;' class='nav_menu'>
						<ul>
							<a href="javascript:;" onclick="addTab('业主收费标准（房产）','/adminOwnerFeeStandard/adminOwnerFeeStandard')"><li>业主收费标准（房产）</li></a>
							<a href="javascript:;" onclick="addTab('xx','/xx/xx')"><li>xx</li></a>
							<a href="javascript:;" onclick="addTab('xx','/xx/xx')"><li>xx</li></a>
						</ul>
					</div>

					<div title='房源管理' data-options='selected:false' style='padding:0px;' class='nav_menu'>
						<ul>
							<a href="javascript:;" onclick="addTab('小区管理','/adminSmallArea/adminSmallArea')"><li>小区管理</li></a>
							<a href="javascript:;" onclick="addTab('栋管理','/adminBuilding/adminBuilding')"><li>栋管理</li></a>
							<a href="javascript:;" onclick="addTab('房产管理','/adminHouse/adminHouse')"><li>房产管理</li></a>
						</ul>
					</div>

					<div title='用户管理' data-options='selected:false' style='padding:0px;' class='nav_menu'>
						<ul>
							<a href="javascript:;" onclick="addTab('用户管理','/adminUsers/adminUsers')"><li>用户管理</li></a>
							<a href="javascript:;" onclick="addTab('业主管理','/adminOwner/adminOwner')"><li>业主管理</li></a>
							<a href="javascript:;" onclick="addTab('租户管理','/adminTenant/adminTenant')"><li>租户管理</li></a>
							<a href="javascript:;" onclick="addTab('商户管理','/adminMerchant/adminMerchant')"><li>商户管理</li></a>
						</ul>
					</div>

					<div title='管理员管理' data-options='selected:false' style='padding:0px;' class='nav_menu'>
						<ul>
							<a href="javascript:;" onclick="addTab('人员管理','/adminUser/adminUser')"><li>人员管理</li></a>
							<a href="javascript:;" onclick="addTab('权限管理','/adminAuthority/adminAuthority')"><li>权限管理</li></a>
						</ul>
					</div>

				</div>
            </div>

			<div data-options="region:'center'">
				<div id="tabs" class="easyui-tabs" data-options="fit:true,border:false,plain:true">

				</div>
			</div>
        </div>   
    </div>
	
	<div id="south" data-options="region:'south',split:false" style="height:25px;text-align: center;line-height:25px;overflow-y:hidden;background:#aac2f2;">Copyright &copy; 2017-2099 <a href="javascript:;" target="_blank">爱屋及乌</a> 版权所有</div>   

	<script type="text/javascript">

		// 默认打开欢迎页面
		function mo(){
			
			var title = "欢迎使用";
			var ur = "https://www.baidu.com/";
			var content = '<iframe frameborder="0" src="' + ur + '" style="width:100%;min-width:1024px;height:99%;display:block;"></iframe>';
			$('#tabs').tabs('add', {
				title:title,
				content:content,
				closable:true,
			});
		}
		setTimeout("mo()",100); 

		function addTab(title, url) {

			if ($('#tabs').tabs('exists', title)) {
				$('#tabs').tabs('select', title);
			} else {
				var content = '<iframe frameborder="0" src="'
							+ url +
							'" style="width:100%;min-width:1024px;height:99%;display:block;"></iframe>';
				$('#tabs').tabs('add', {
					title:title,
					content:content,
					closable:true,
				});
			}
		}

	</script>
